---
title: Avatar
sidebar:
  order: 4
---

import Preview from "../../../components/Preview.astro";

An image element with a placeholder for representing the user.

<Preview src="avatar">

```dart
ShadAvatar(
  'https://app.requestly.io/delay/2000/avatars.githubusercontent.com/u/124599?v=4',
  placeholder: Text('CN'),
)
```

</Preview>
